/// @file Texture.vs
/// @brief a basic texture vertex shader used with Texture.fs

/// @brief our projection matrix generated from the Camera
uniform mat4 projectionMatrix;

/// @brief our ViewMatrix generated from the Camera
uniform mat4 ViewMatrix;

/// @brief our ModelMatrix generated from our transforms
uniform mat4 ModelMatrix;

void main(void)
{
    gl_Position = projectionMatrix*ViewMatrix*ModelMatrix*gl_Vertex;
    gl_TexCoord[0] = gl_TextureMatrix[0]*gl_MultiTexCoord0;
}
